<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib uri="/struts-tags"  prefix="s"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'sys_user_show.jsp' starting page</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
	<link rel="stylesheet" type="text/css"
			href="./styles/control_panel.css" />
	<script type="text/javascript">
		function callBack(){
			window.history.back();
		}
	</script>

  </head>
  
  <body>
    <div style="margin-bottom: 4px; margin-left: 12px;" align="center">
		<div
			style="border: 1px solid #cccccc; height: auto !important; height: 100px; min-height: 100px;">
			<div class="control_con_right_0021">
				<table width="100%" cellpadding="0" cellspacing="0" border="0">
					<tr>
						<td align="left" class="tb_left" valign="middle" colspan="3"
							style="padding-left: 10px;">
							查看用户信息
						</td>
					</tr>
				</table>
			</div>
    	<table>
    		<tr height="30px">
    			<td width="100">用户名称：</td>
    			<td width="150"><s:property value="%{userDTO.userName}"/> </td>
    			<td width="100">邮箱：</td>
    			<td width="100"><s:property value="%{userDTO.email}"/></td>
    		</tr>
    		<tr height="30px">
    			<td width="100">出生年月日：</td>
    			<td width="150"><s:property value="%{userDTO.brithday}"/> </td>
    			<td width="100">职业：</td>
    			<td width="100"><s:property value="%{userDTO.career}"/></td>
    		</tr>
    		<tr height="30px">
    			<td width="100">省份：</td>
    			<td width="150"><s:property value="%{userDTO.province}"/> </td>
    			<td width="100">城市：</td>
    			<td width="100"><s:property value="%{userDTO.city}"/></td>
    		</tr>
    		<tr height="30px">
    			<td width="100">公司：</td>
    			<td width="150"><s:property value="%{userDTO.company}"/> </td>
    			<td width="100">简历：</td>
    			<td width="100"><s:property value="%{userDTO.resume}"/></td>
    		</tr>
    		<tr height="30px">
    			<td width="100">MSN：</td>
    			<td width="150"><s:property value="%{userDTO.msn}"/> </td>
    			<td width="100">QQ：</td>
    			<td width="100"><s:property value="%{userDTO.qq}"/></td>
    		</tr>
    		<tr height="30px">
    			<td width="100">等级：</td>
    			<td width="150"><s:property value="%{userDTO.level}"/> </td>
    			<td width="100">是否在线：</td>
    			<td width="100"><s:property value="%{userDTO.onlineStatue}"/></td>
    		</tr>
    		<tr height="30px">
    			<td width="100">注册时间：</td>
    			<td width="150"><s:date name="%{userDTO.registerTime}" format="yyyy-MM-dd HH:mm:ss"/></td>
    			<td width="100"> 账户情况：</td>
    			<td width="100">
    				<s:if test="userDTO.userStatue=='SOA'">有效</s:if>
    				<s:else>无效</s:else>
    				
    			</td>
    		</tr>
    		<tr height="30px">
    			<td colspan="2">用户所属角色：</td>
    			<td colspan="2"><s:property value="%{sysRole.role}"/> </td>
    		</tr>
    		<tr height="50px">
    			<td colspan="4" align="center">
    				<input type="button" value="返回" onclick="callBack();"/>
    			</td>
    		</tr>
    	</table>
    </div>
    </div>
  </body>
</html>
